package org.raphaello.core.objects;

import org.raphaello.Prototype.Raphaello;
import org.raphaello.core.states.SolidState;

public class VisibleObject extends Object {

	public VisibleObject(String id) {
		super(id);
		
		SolidState paintingState = new SolidState(id + ".painting"); 
		addChild(paintingState);
		
		Raphaello.mStates.put(paintingState.getId(), paintingState);
	}

}
